<?php
namespace Mob \ Model;

use Think \ Model;
use Think \ Hook;
/**举报模型
 * Class InfoModel
 */

require_once ('./Application/Mob/Common/function.php');

class ReportedModel extends Model {

    /**
     * @param $Type  举报类型
     * @param $Uid 举报人
     * @param $Beinformants 被举报人     *
     * @param $ReportContents     举报描述
     * 支付异常
     */

   public function accept($Type,$Uid,$Beinformants,$ReportContents)
   {
   	$data['ReportedType']=$Type;
   	$data['Informant']=$Uid;
   	$data['Beinformants']=$Beinformants;
   	$data['$ReportContents']=$ReportContents;
   	$report = M('Report');
   	$result = $report->add($data);
   	return $result;

   }








}